﻿CREATE TRIGGER UsersCommittees_Tracking_Update
ON [dbo].[UsersCommittees] 
AFTER Update
AS 
BEGIN
	UPDATE Sync.UsersCommittees_Tracking 
	SET LastUpdatedDate  = getdate()
    FROM Sync.UsersCommittees_Tracking s JOIN INSERTED i
    ON s.CommitteeID = i.CommitteeID AND s.UserID = i.UserID
END














